package com.swx.identityservice.service;

import com.swx.identityservice.dtos.role.RoleOutputDto;
import com.swx.identityservice.models.ScbpRole;

import java.util.List;

/**
 * Created by SCBP
 */
public interface ScbpRoleService extends CrudService<ScbpRole> {


    List<RoleOutputDto> selectAllWithOutDeleted(
            String dealrole,
            String name,
            String affiliateddept);


  List<RoleOutputDto> selectRolesByDeptId(Integer [] id);

    List<ScbpRole> selectAllRoles();




    int selectCountByDeptId(Integer id);


}
